/**  
* @Title: OrderService.java  
* @Description: TODO(用一句话描述该文件做什么)  
* @author 张鑫
* @phone 17561783855  
* @date 2019年4月10日  
*/
package com.fortune.rainshine.service.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.fortune.rainshine.config.FeignConfig;
import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.base.ParmsModel;
import com.fortune.rainshinecommon.model.service.OrderDetailModel;
import com.fortune.rainshinecommon.model.service.OrderModel;

/**  
* @ClassName: OrderService  
* @Description: TODO(这里用一句话描述这个类的作用)  
* @author 张鑫
* @phone 17561783855
* @date 2019年4月10日  
*    
*/
@FeignClient(value = "rain-shine-service",configuration = FeignConfig.class)
@RestController
public interface OrderService {

	@PostMapping(value = "/order/list")
	MsgModel list(ParmsModel parm);

	@PostMapping(value = "/order/detailOrders")
	List<OrderDetailModel> findDetailOrders(String orderId);

	@PostMapping(value = "/order/confirming")
	MsgModel confirming(OrderModel model);

	@PostMapping(value = "/order/receiving")
	MsgModel receiving(OrderModel model);

	@PostMapping(value = "/order/cancelOrder")
	MsgModel cancelOrder(OrderModel model);
}
